<%@ page contentType="text/html;charset=UTF-8"%>
<style type="text/css">
	#dialog-mult-select-search .ui-checkbox{
		margin-left:-13px;display:inline-block;
	}
	#dialog-mult-select-search .ui-filterable{
		margin-left:40px;display:inline-block;
	}
</style>

<!-- 退出菜单dialog -->
<div data-role="panel" id="dialog-menu" data-display="overlay"
	data-theme="b">
	<div class="panel-content">
		<ul data-role="listview">
			<li id="returnMenu"><button onclick="location.href='${ctx}'">返回菜单</button></li>
			<li><button onclick="location.href='${ctx}/logout'">退出</button></li>
		</ul>
	</div>
</div>
<!-- 任务密码 输入dialog -->
<div data-role="popup" id="dialog-loginCheck" data-theme="a"
	class="ui-corner-all">
	<div style="padding:10px 20px;">
		<h3>任务密码</h3>
		<label style="display:none;color:red;text-align:center;width:100%;"></label>
		<input type="password" placeholder="请输入任务密码" value="" data-theme="a">
		<button data-theme="b" data-icon="check"
			onclick="loginPasswordCheck()">确认</button>
	</div>
</div>
<!-- 管理密码 输入dialog -->
<div data-role="popup" id="dialog-bossCheck" data-theme="a"
	class="ui-corner-all">
	<div style="padding:10px 20px;">
		<h3>管理密码</h3>
		<label style="display:none;color:red;text-align:center;width:100%;"></label>
		<input type="password" placeholder="请输入管理密码" value="" data-theme="a">
		<button data-theme="b" data-icon="check" onclick="bossPasswordCheck()">确认</button>
	</div>
</div>
<!-- 提示dialog -->
<div data-role="popup" id="dialog-tip" class="ui-content"
	style="min-width:200px">
	<a href="#" data-rel="back" data-role="button" data-theme="a"
		data-icon="delete" data-iconpos="notext" class="ui-btn-right">关闭</a>
	<p></p>
</div>
<!-- alert msg -->
<div data-role="popup" id="dialog-alert" data-overlay-theme="a"
	data-theme="c" data-dismissible="false" class="ui-corner-all">
	<div data-role="header" data-theme="a" class="ui-corner-top">
		<h1>温馨提示</h1>
	</div>
	<div data-role="content" style="width:300px;height:200px;overflow:auto;" data-theme="d"
		class="ui-corner-bottom ui-content">
		<h4></h4>
	</div>
	<div data-theme="a" data-role="footer">
		<fieldset data-role="controlgroup" data-type="horizontal"
			data-inline="true">
			<a href="#" data-role="button" data-inline="true" data-rel="back"
				data-theme="a">确认</a>
		</fieldset>
	</div>
</div>
<!-- confirm -->
<div data-role="popup" id="dialog-confirm" data-overlay-theme="a"
	data-theme="c" data-dismissible="false" class="ui-corner-all">
	<div data-role="header" data-theme="a" class="ui-corner-top">
		<h1>温馨提示</h1>
	</div>
	<div data-role="content" style="width:300px" data-theme="d"
		class="ui-corner-bottom ui-content">
		<h3 class="ui-title"></h3>
		<br />
	</div>
	<div data-theme="a" data-role="footer">
		<fieldset data-role="controlgroup" data-type="horizontal"
			data-inline="true">
			<button data-inline="true">确认</button>
			<a href="#" data-role="button" data-inline="true" data-rel="back"
				data-theme="a">取消</a>
		</fieldset>
	</div>
</div>
<!-- 文件上传 -->
<div data-role="popup" id="dialog-upload" data-overlay-theme="a"
	data-theme="c" data-dismissible="false" class="ui-corner-all">
	<div data-role="header" data-theme="a" class="ui-corner-top">
		<h1 id="dialog-upload-header">资料上传</h1>
	</div>
	<div data-role="content" style="width:300px" data-theme="d"
		class="ui-corner-bottom ui-content">
		<label id="dialog-upload-errorMsg"
			style="color:red;text-align:center;width:100%;"></label> <input
			type="file" name="file" id="fileToUpload" data-inline="true"
			multiple="multiple" onchange="beforeUpload();" />
		<button id="dialog-upload-temple" data-inline="true">下载模板</button>
	</div>
	<div data-theme="a" data-role="footer">
		<fieldset data-role="controlgroup" data-type="horizontal"
			data-inline="true">
			<button id="dialog-upload-submit" data-inline="true">确认</button>
			<a href="#" id="dialog-upload-cancel" data-role="button"
				data-inline="true" data-rel="back" data-theme="a">取消</a>
		</fieldset>
	</div>
</div>
<!-- 产品护理选择 -->
<div data-role="popup" id="dialog-select" data-overlay-theme="a"
	data-theme="c" data-dismissible="false" class="ui-corner-all">
	<div data-role="header" data-theme="a" class="ui-corner-top">
		<h1></h1>
	</div>
	<div data-role="content"
		style="width:300px;height:430px;overflow:auto;" data-theme="d"
		class="ui-corner-bottom ui-content">
		<ol data-role="listview" data-filter-placeholder="搜索"
			data-filter="true">
		</ol>
	</div>
	<div style="padding:10px 20px;background: #FFFFFF;">
		<a data-rel="back" data-role="button" data-theme="a"
			data-icon="delete">关闭</a>
	</div>
</div>
<!-- mult选择 -->
<div data-role="popup" id="dialog-mult-select" data-overlay-theme="a"
	data-theme="c" data-dismissible="false" class="ui-corner-all">
	<div data-role="header" data-theme="a" class="ui-corner-top">
		<h1></h1>
	</div>
	<div id="dialog-mult-select-search" data-role="content"
		style="width:300px;height:430px;overflow:auto;" data-theme="d"
		class="ui-corner-bottom ui-content">
		<input type="checkbox" class="checkAll">
		<ul data-role="listview" data-filter-placeholder="搜索"
			data-filter="true">
		</ul>
	</div>
	<div data-role="footer" data-theme="a">
		<fieldset data-role="controlgroup" data-type="horizontal"
			data-inline="true">
			<a data-role="button" id="submitBtn" data-inline="true"
				data-theme="a">确认</a> <a data-rel="back" data-inline="true"
				data-role="button" data-theme="a">取消</a>
		</fieldset>
	</div>
</div>
<!-- 自营产品选择 -->
<div data-role="popup" id="selectProduct">
	<div data-role="header">
		<h1>选择产品</h1>
	</div>
	<div data-role="content"
		style="overflow:scroll;height:25em;width: 20em;"
		id="selectProductEvent">
		<ul data-role="listview" id="productsList"
			data-filter-placeholder="搜索" data-filter="true">
		</ul>
	</div>
	<!-- /content -->
	<div data-role="footer">
		<a href="#" data-rel="back" data-role="button" data-inline="true"
			data-icon="back">取消</a>
	</div>
</div>
<!-- 系统产品选择 -->
<div data-role="popup" id="selectProduct2">
	<div data-role="header">
		<h1>选择产品</h1>
	</div>
	<div data-role="content"
		style="overflow:scroll;height:25em;width: 20em;"
		id="selectProductEvent">
		<ul data-role="listview" id="productsList"
			data-filter-placeholder="搜索" data-filter="true">
		</ul>
	</div>
	<!-- /content -->
	<div data-role="footer">
		<a href="#" data-rel="back" data-role="button" data-inline="true"
			data-icon="back">取消</a>
	</div>
</div>
<!-- 支付验证dialog -->
<div data-role="popup" id="dialog-payCheck" data-theme="a"
	class="ui-corner-all">
	<div data-role="header">
		<h3 id="title">支付验证</h3>
	</div>
	<div style="padding:10px 20px;display: block;">
		<h3 id="content"></h3>
		<br /> <label id="error"
			style="display:none;color:red;text-align:center;width:100%;"></label>
		<div data-role="fieldcontain">
			<label>验证码：</label><input data-inline="true" type="text" id="paycode"
				placeholder="请输入验证码" value="" data-theme="a" />
		</div>
	</div>
	<div data-theme="a" data-role="footer">
		<fieldset data-role="controlgroup" data-type="horizontal"
			data-inline="true">
			<button id="check" data-inline="true">确认</button>
			<button id="resend" data-inline="true">重发</button>
			<a href="#" id="cancel" data-role="button" data-inline="true"
				data-rel="back" data-theme="a">取消</a>
		</fieldset>
	</div>
</div>